package com.xxx.chat.message;

import lombok.Data;
import lombok.ToString;

import java.util.Set;

/**
 * 聊天室：获取群成员响应
 */
@Data
@ToString(callSuper = true)
public class GroupMembersResponseMessage extends Message {

    private Set<String> members;    // 群成员列表

    public GroupMembersResponseMessage(Set<String> members) {
        this.members = members;
    }

    @Override
    public int getMessageType() {
        return GroupMembersResponseMessage;
    }
}
